const http = uni.$u.http

// post请求，获取订单列表
export const snapshopData = (data, config = {
  custom: {
    type: 'url'
  }
}) => http.post('/storepayment/order/goodsSnapshop', data, config)
export const snapshopSpecification = (data, config = {
  custom: {
    type: 'url'
  }
}) => http.post('/storepayment/order/querySpecifications', data, config)
// post请求，商品详情（门店）
export const orderGoodsItems = (data, config = {
  custom: {
    type: 'url'
  }
}) => http.post('/storepayment/order/orderGoodsItems', data, config)
// post请求，订单详情(门店)
export const orderInfoByOrderNo = (data, config = {
  custom: {
    type: 'url'
  }
}) => http.post('/storepayment/order/orderInfoByOrderNo', data, config)